// lambda函数 - 空捕获列表
#include <iostream>
class Test
{
private:
  /* data */
public:
  Test(/* args */);
  ~Test();
};

Test::Test(/* args */)
{
  std::cout << "Test constructor() ..." << std::endl;
}

Test::~Test()
{
}

void func(int a){
  std::cout << " a : " << a << std::endl;
}
const int NODE  = 10;
int main(void)
{
  []{
    Test t1;
    func(2);
    std::cout << " NODE : " << NODE << std::endl;
  }();
  printf("------------end---------------\n");
  return 0;
}